home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MACD 5
/
MACD 5.bin
/
workbench
/
tools
/
czesc_3
/
pubscreens
/
pubscreen.doc
< prev
next >
Wrap
Text File
|
1990-12-17
|
5KB
|
119 lines
==============================================================================
Public Screen Manager V1.0
© J.Tyberghein Mon Sep 24 11:13:12 1990
==============================================================================
Preface
-------
I made this utility when I discovered a new feature in AmigaDOS 2.0:
Public Screens. This utility manages public screens. You can open,
close, list, ... public screens in any form you wish.
Normally the 'Workbench' public screen is the default one, but with
this utility you can make another public screen and make it default.
All programs you execute will get their window on this new screen instead
of on the workbench screen.
This program (PUBSCREEN V1.0) is public domain but contributions and some
utilities are always welcome.
If you want to use this program for commercial purposes please write
for permission !
If you have any suggestions or remarks you can write to (Bug reports are
welcome too)
Jorrit Tyberghein
Hepmansbossen 31
2450 Meerhout BELGIUM
WARNING
-------
If you want to use this utility you must have AmigaDOS 2.0 (or later :-).
This utility is pure so you can use it with ARes, Resident, ...
PUBSCREEN is a cli program.
Messing with public screens is completely your responsibility. You could
crash the Amiga if you do dirty things (like closing screens that do not
belong to you).
Syntax
------
+--------------------------------------------------------------------------+
| Commandline template: |
| Name,O=OPEN/s,C=CLOSE/s,D=DEFAULT/s,SN=SCRNAME/k,I=INFO/s,L=LIST/s, |
| DIM/k,SH=SHANGHAI/n,NOFREE/s,LORES/s,HAM/s,EHB/s,DPF/s,DPF2/s, |
| SUPER/s,LACE/s,VGA/s,A2024/s: |
|--------------------------------------------------------------------------|
| Usage: |
| PubScreen [<Name>] [Open] [Close] [Default] [ScrName <name>] [Info] |
| [List] [DIM [<left>],[<top>],[<width>],[<height>],[<depth>]] |
| [SHanghai <switch>] [NOFREE] [LORES] [HAM] [EHB] [DPF] [DPF2]|
| [SUPER] [LACE] [VGA] [A2024] |
+--------------------------------------------------------------------------+
Name : public screen name (only for 'Open','Close','Default', 'Info' and
'DIM' options, <Name> is ignored for all other options).
Open : open the public screen <Name>
Close : close the screen <Name>
Default : make <Name> the default public screen
Info : give information about <Name>
List : list all public screens
DIM : specify screen dimensions (only for 'Open' option, ignored for other
options).
SHanghai: set shanghai mode on (1) or off (0). When shanghai mode is on, all
windows with type WBENCH_WINDOW appear on the default public screen.
When this mode is off, they always appear on the workbench screen
and not on the default public screen.
ScrName : screen name (only for 'Open' option).
NOFREE : do not free screen name (for 'Close')
You must use this option if you try to close a public screen that
was not opened with PUBSCREEN. You should not use this option if
the screen was opened with PUBSCREEN.
PUBSCREEN and PUBLICS are compatible. Do not use this option when
you want to close a PUBLICS screen.
(The following options are for 'Open' only.
LORES : open a lores screen.
HAM : open a ham screen.
EHB : extrahalfbrite.
DPF : dualplayfield.
DPF2 : dualplayfield (other priorities).
SUPER : a superhires screen (ECS).
LACE : an interlace screen.
VGA : for vga monitors.
A2024 : for A2024 monitors.
examples
--------
Open a normal interlaced screen with 2 bitplanes and default size.
PUBSCREEN MyScreen open dim ,,,,2 lace
or
PUBSCREEN MyScreen o dim ,,,,2 lace
Open a big HAM screen and make this public screen the default one.
PUBSCREEN MyHAMScreen open dim 0,0,1000,500,6 ham default shanghai 1
or
PUBSCREEN MyHAMScreen o dim 0,0,1000,500,6 ham d sh 1
List all public screens.
PUBSCREEN list
or
PUBSCREEN l
==============================================================================
End of PUBSCREEN 1.0 document
==============================================================================